﻿<Window x:Class="PrismEx.SampleApp.Modules.SplashScreen.Splash"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:SampleApp="clr-namespace:PrismEx.SampleApp"
        xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Microsoft.Windows.Shell" 
        Background="{StaticResource AccentBrush}" WindowStyle="None" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  WindowStartupLocation="CenterScreen"  >
    <shell:WindowChrome.WindowChrome>
        <shell:WindowChrome
                            ResizeBorderThickness="0"
                            CaptionHeight="0"
                            CornerRadius="0,0,0,0"
                            GlassFrameThickness="0"/>
    </shell:WindowChrome.WindowChrome>
    <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" TextBlock.Foreground="White">
        <TextBlock Text="{Binding Source={x:Static SampleApp:AssemblyInfoHelper.CompanyName}, Converter={SampleApp:ToLowerCaseConverter}}" FontSize="60" Margin="0,0,0,-15"/>
        <TextBlock Text="{Binding Source={x:Static SampleApp:AssemblyInfoHelper.ProductName}, Converter={SampleApp:ToLowerCaseConverter}}" FontSize="20"  HorizontalAlignment="Right" VerticalAlignment="Bottom" />
        <ProgressBar Style="{StaticResource ProgressBarStyle1}" IsIndeterminate="True" Margin="0,10,0,0" Foreground="White" Background="White"/>
    </StackPanel>
</Window>
